<template>
    <panel title="理财精选" :cname="$style.panel">
        <section :class="$style.content">
            <div :class="$style.item">
                <img src="//img12.360buyimg.com/jrpmobile/jfs/t3670/58/543125556/2606/a65096b9/580d80afN63b1085a.png?width=76&height=76" alt="">
                <div>
                    <h4>月度理财</h4>
                    <p>预期年化收益率4.50%</p>
                </div>
                <em>去赚钱 > </em>
            </div>
            <div :class="$style.item">
                <img src="//img12.360buyimg.com/jrpmobile/jfs/t3679/44/511862277/2728/c1c6b2bf/580d8189N6b6f8052.png?width=76&height=76" alt="">
                <div>
                    <h4>季度理财</h4>
                    <p>历史年化回报率5.50%</p>
                </div>
                <em>去赚钱 > </em>
            </div>
            <div :class="$style.item">
                <img src="//img12.360buyimg.com/jrpmobile/jfs/t3331/69/580199498/3074/d5bb21c5/580d7f6cN7f35e596.png?width=76&height=76" alt="">
                <div>
                    <h4>年度理财</h4>
                    <p>预期年化收益率4.50%</p>
                </div>
                <em>去赚钱 > </em>
            </div>
        </section>
    </panel>
</template>

<script>
    import panel from '../core/panel'
    export default {
        name: 'moneyFinance',
        components: {
            panel
        }
    }
</script>

<style lang="scss" module>
    @import '../../css/element.scss';
    .panel{
        >h4{
            border-bottom: 1px solid #ddd;
        }
        .content{
            @include flex;
            .item{
                @include flex(row);
                height: 140px;
                align-items: center;
                 &:after{
                    content:' ';
                    display: block;
                    width: 100%;
                    height: 0;
                    border-bottom: 1px solid #ddd;
                    box-sizing: border-box;
                    margin-left: 150px;
                }
                >img{
                    width: 88px;
                    height: 88px;
                    margin: 0 32px
                }
                >div{
                    font-size: 32px;
                    color: #333;
                    // height: 83px;
                    width: 344px;
                    line-height: 1.8;
                    p{
                        font-size:24px;
                        color: #ff3232;
                        line-height: 1.1;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }
                }
                >em{
                    color: #ff801a;
                    font-size: 28px;
                }
            }
        }
    }
</style>
